package com.tansty.web.controller;

import com.tansty.common.utils.CommonUtil;
import com.tansty.pojo.vo.ResultVO;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * description:  <br>
 * date: 2021/8/1 15:43 <br>
 * author: ztz <br>
 * version: 1.0 <br>
 */
@RestController
@RequestMapping("/test")
//@RolesAllowed({"ShowMember"})
public class TestController {
    //@Secured("ShowMember")
    //@PreAuthorize("hasRole('ADMIN')")
    //@PreAuthorize("hasAuthority('ShowMember')")
    @RequestMapping("/t1")
    public ResultVO test(){
        return CommonUtil.ajaxReturn("test");
    }
}
